<link href="styles/datepicker3.css" rel="stylesheet">
<link href="styles/styles.css" rel="stylesheet">

<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
    <div class="container-fluid">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#sidebar-collapse">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand"><span>用户操作页面</span></a>
            <ul class="user-menu">
                <li class="dropdown pull-right">
                    <a class="dropdown-toggle" data-toggle="dropdown"><span class="glyphicon glyphicon-user"></span> {{username}} <span class="caret"></span></a>
                </li>
            </ul>
        </div>
    </div><!-- /.container-fluid -->
</nav>

<div id="sidebar-collapse" class="col-sm-3 col-lg-2 sidebar">
    <ul class="nav menu">
        <li><a href="/arithmetic/MyApp/#/work/parentInformation/{{username}}"><span class="glyphicon glyphicon-dashboard"></span> 家长信息</a></li>
        <li ng-repeat="child in children"><a href="/arithmetic/MyApp/#/work/simpleStudentInformation/{{username}}&{{child.username}}"><span class="glyphicon glyphicon-stats"></span>学生{{child.username}}状况</a></li>
    </ul>
</div><!--/.sidebar-->

<div class="col-sm-9 col-sm-offset-3 col-lg-10 col-lg-offset-2 main">
    <div class="row">
        <ol class="breadcrumb">
            <li><a ><span class="glyphicon glyphicon-home"></span></a></li>
            <li class="active">家长信息</li>
        </ol>
    </div><!--/.row-->

    <div class="row">
        <div class="col-lg-12">
            <h1 class="page-header">家长信息</h1>
        </div>
    </div><!--/.row-->


    <div class="row">
        <p>
            您现在已经与{{children.length}}个孩子的账号绑定
        </p>
        <form role="form" ng-submit="newChild()">
            <div class="form-group">
                <label for="childName" class="col-sm-1 control-label">添加:</label>
                <div class="col-sm-5">
                    <input type="text" class="form-control" id="childName" required="required" placeholder="孩子用户名" ng-model="childName">
                </div>
                <button type="submit" class="btn btn-primary">提交</button>
            </div>
        </form>
    </div><!--/.row-->
</div>	<!--/.main-->
